﻿<%@ Page Language="C#" AutoEventWireup="true" Title="修改医院采购药品" CodeBehind="HospitalProcureCata.aspx.cs" MasterPageFile="~/Master/MasterPage.master"  Inherits="HZ.Supervise.Web.Peculiar.HospitalProcureCata" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div id="tabcontent">
         <asp:Label ID="lblHospitalName" runat="server" Text=""></asp:Label>
     
    <table class="querylist" width="100%">
        <tr>
            <th id="5" align="right" class="style1">
                流水号：</th>
            <td id="6" align="left" class="style1" >
                
                <asp:TextBox ID="txtGoodsId" runat="server" Width="120px" ></asp:TextBox>
                
                <br />
                
            </td>
            <th id="Th2" align="right" class="style1">
                通用名：</th>
            <td id="Td2" align="left" class="style1" >
                <asp:TextBox ID="txtGoodsName" runat="server" Width="120px" ></asp:TextBox>
                
                </td>
               <th id="Th2" align="right">  药品状态：</th>
                 <td>
                
                     <asp:DropDownList ID="DropDownList3" runat="server" Width="90px">
                    <asp:ListItem Value="">全部</asp:ListItem>
                    <asp:ListItem Value="0">禁用</asp:ListItem>
                    <asp:ListItem Value="1">启用</asp:ListItem>
                </asp:DropDownList>
                
                </td>
            <td align="right" rowspan="2">
              
                <asp:Button ID="btnConfirmMessage0" runat="server" CssClass="btn" 
                    OnClick="btnConfirmMessage0_Click" Text="查询"  />
              
            </td>
        </tr>
         <tr>
            <th id="Th1" align="right">
                药品类别：<br />
            </th>
            <td id="Td1" align="left" >
                <asp:DropDownList ID="ddlDrugSort" runat="server" Width="90px">
                </asp:DropDownList>
                
                <br />
                
            </td>
            <th id="Th1" align="right">
&nbsp;<b>采购类型：</b> 
            </th>
            <td id="Td1" align="left" colspan="3">
                <asp:DropDownList ID="DropDownList2" runat="server" Width="90px">
                    <asp:ListItem Value="">---请选择---</asp:ListItem>
                    <asp:ListItem Value="0">基药</asp:ListItem>
                    <asp:ListItem Value="1">非基药</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    </div>
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！" DataKeyNames="ProcureCatalogID">
        <Columns>
            <asp:TemplateField HeaderText="选择">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server"/> 
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="ProcureCatalogID" HeaderText="流水号" />
            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格" />
            <asp:BoundField DataField="Factor" HeaderText="包装">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="Unit" HeaderText="单位">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:TemplateField HeaderText="采购类型">
                <ItemTemplate>
                    <%#HZ.Supervise.Web.Function.FormatDrugSource(Eval("SortSource"))%>
                </ItemTemplate>
                <HeaderStyle Width="60px" />
           </asp:TemplateField>
               <asp:TemplateField HeaderText="是否禁用">
                <ItemTemplate>
                    <asp:Image ID="Image1" runat="server" ImageUrl='<%#CheckIsUsing(Eval("HHospitalID"))?"~/lib/images/ico_yes.gif":"~/lib/images/ico_no.gif"%>' />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <asp:Button ID="btnDelte" CssClass="btn" runat="server" OnClientClick="if(getcheckcount('请至少选择一个药品')){ return confirm('确定要操作该药品？');} return false;"
            OnClick="btnDelte_Click" Visible="False" />
              &nbsp;
        <asp:Button ID="btnDelte0" CssClass="btn" runat="server"
            OnClick="btnDelte0_Click" Visible="False" 
            onclientclick=" return confirm('确定要操作步骤？');" />
              
        <asp:Button ID="btnDelte1" CssClass="btn" runat="server"
            OnClick="btnDelte1_Click" Visible="False" 
            onclientclick=" return confirm('确定要操作该药品？');" />
              
    </div>
<div class="listip">
        <ul>
            <li> </li>
        </ul>
    </div>
</asp:Content>


<asp:Content ID="Content3" runat="server" contentplaceholderid="head">
</asp:Content>



